#include <types.h>
#include <subprograms.h>
#include <csra.h>
#include <po_hi_task.h>
#include <po_hi_main.h>
#include <po_hi_messages.h>
/*  Periodic task : Pinger*/
/****************/
/* pinger_job */ 
/****************/

void* pinger_job ()
{
   simple_type p_spg_data_source;
   __po_hi_msg_t message;

   __po_hi_wait_initialization();
   while (1)
   {
      /*  Call implementation*/
      do_ping_spg(&(p_spg_data_source));
      /*  Call stub */
      ping_spg_stub(node_a_pinger_k_entity,node_b_ping_me_k_entity,&(message),p_spg_data_source);
      __po_hi_wait_for_next_period(node_a_pinger_k);
   }
}


